package com.xidian.zhiancloud.service.user;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xidian.zhiancloud.dao.syset.SysBasicSettingMapper;
import com.xidian.zhiancloud.model.syset.SysBasicSetting;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 系统基础信息设置
 */
@Service
public class IBasicSettingService extends ServiceImpl
        <SysBasicSettingMapper,SysBasicSetting> {

    @Autowired
    SysBasicSettingMapper basicSettingMapper;

    public SysBasicSetting selectBasicSettingList(Long companyId){
        return basicSettingMapper.selectBasicSettingList(companyId);
    }

    public int addBasicSetting(String id,SysBasicSetting basicSetting){
        return basicSettingMapper.addBasicSetting(id,basicSetting);
    }

}
